package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.pojo.Feedback;

import java.util.List;
import java.util.Map;

/**
 * @ClassName FeedbackService
 * @Description 反馈表 服务类
 * @Author pengkaka
 * @Date 2020/8/6 14:23
 * @Version 1.0
 **/

public interface FeedbackService {
    
    /**
     * @Author: pengzheng
     * @Description: 获取反馈列表
     * @Date: 14:25 2020/8/6
     * @Param searchMap: 
     * @return: com.github.pagehelper.Page<com.itheima.pojo.Feedback> 
     */
    Page<Feedback> getPageList(Map<String,Object> searchMap);
    
    /**
     * @Author: pengzheng
     * @Description: 新增反馈
     * @Date: 14:27 2020/8/6
     * @Param feedback: 
     * @return: void 
     */
    void add(Feedback feedback);
    
    /**
     * @Author: pengzheng
     * @Description: 批量删除反馈
     * @Date: 15:22 2020/8/6
     * @Param feedbackList: 
     * @return: void 
     */
    void deleteBatch(List<Feedback> feedbackList);
}
